<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Aluetjen.EMailService.Contract" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Aluetjen.EMailService.Contract" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost:1301/EmailService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/System.Text" />
  <xs:import schemaLocation="http://localhost:1301/EmailService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="MailMessage">
    <xs:sequence>
      <xs:element minOccurs="0" name="Attachments" nillable="true" type="tns:ArrayOfAttachment" />
      <xs:element minOccurs="0" name="Bcc" nillable="true" type="tns:ArrayOfMailAddress" />
      <xs:element minOccurs="0" name="Body" nillable="true" type="xs:string" />
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/System.Text" minOccurs="0" name="BodyEncoding" nillable="true" type="q1:Encoding" />
      <xs:element minOccurs="0" name="CC" nillable="true" type="tns:ArrayOfMailAddress" />
      <xs:element minOccurs="0" name="DeliveryNotificationOptions" type="tns:DeliveryNotificationOptions" />
      <xs:element minOccurs="0" name="From" nillable="true" type="tns:MailAddress" />
      <xs:element xmlns:q2="http://schemas.datacontract.org/2004/07/System.Text" minOccurs="0" name="HeadersEncoding" nillable="true" type="q2:Encoding" />
      <xs:element minOccurs="0" name="IsBodyHtml" type="xs:boolean" />
      <xs:element minOccurs="0" name="Priority" type="tns:MailPriority" />
      <xs:element minOccurs="0" name="ReplyToList" nillable="true" type="tns:ArrayOfMailAddress" />
      <xs:element minOccurs="0" name="Sender" nillable="true" type="tns:MailAddress" />
      <xs:element minOccurs="0" name="Subject" nillable="true" type="xs:string" />
      <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/System.Text" minOccurs="0" name="SubjectEncoding" nillable="true" type="q3:Encoding" />
      <xs:element minOccurs="0" name="To" nillable="true" type="tns:ArrayOfMailAddress" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MailMessage" nillable="true" type="tns:MailMessage" />
  <xs:complexType name="ArrayOfAttachment">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Attachment" nillable="true" type="tns:Attachment" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfAttachment" nillable="true" type="tns:ArrayOfAttachment" />
  <xs:complexType name="Attachment">
    <xs:sequence>
      <xs:element minOccurs="0" name="Content" nillable="true" type="xs:base64Binary" />
      <xs:element minOccurs="0" name="MediaType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Attachment" nillable="true" type="tns:Attachment" />
  <xs:complexType name="ArrayOfMailAddress">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="MailAddress" nillable="true" type="tns:MailAddress" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfMailAddress" nillable="true" type="tns:ArrayOfMailAddress" />
  <xs:complexType name="MailAddress">
    <xs:sequence>
      <xs:element minOccurs="0" name="Address" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DisplayName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MailAddress" nillable="true" type="tns:MailAddress" />
  <xs:simpleType name="DeliveryNotificationOptions">
    <xs:list>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="None">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">0</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="OnSuccess">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="OnFailure">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="Delay">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">4</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
          <xs:enumeration value="Never">
            <xs:annotation>
              <xs:appinfo>
                <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">134217728</EnumerationValue>
              </xs:appinfo>
            </xs:annotation>
          </xs:enumeration>
        </xs:restriction>
      </xs:simpleType>
    </xs:list>
  </xs:simpleType>
  <xs:element name="DeliveryNotificationOptions" nillable="true" type="tns:DeliveryNotificationOptions" />
  <xs:simpleType name="MailPriority">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Normal" />
      <xs:enumeration value="Low" />
      <xs:enumeration value="High" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="MailPriority" nillable="true" type="tns:MailPriority" />
</xs:schema>